
'use strict';

const Controller = require('egg').Controller;

class UserController extends Controller {

    async info() {
      const { ctx } = this;
      const userInfo = await ctx.service.user.addName('wjw');
      ctx.body = userInfo;
    }
    
  }

module.exports = UserController;